package ssd.service;

/**
 * Created by 刘宇飞 on 2017/5/15.
 */
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ssd.dao.EmpDao;
import ssd.dto.Emp;
import java.util.List;

@Service
public class EmpService {
    @Autowired
    EmpDao dao;


    public List<Emp> getEmps() {
        return  dao.selectAll();

    }

}